﻿namespace TeacherLoad.Classes
{
    internal class UchPlan
    {
        private int _id;
        private int _year;
        private int _idSpec;

        public int Id { get => _id; set => _id = value; }
        public int Year { get => _year; set => _year = value; }
        public int IdSpec { get => _idSpec; set => _idSpec = value; }

        public string Year_Approval { get => _year.ToString(); }

        public UchPlan(int id, int year, int idSpec)
        {
            Id = id;
            Year = year;
            IdSpec = idSpec;
        }

        public override string ToString()
        {
            return Year_Approval;
        }
    }
}
